# # -*- coding: utf-8 -*-
# """
# API路由统一配置
# 统一管理所有模块的路由映射，不处理业务逻辑，只做路径映射
# @version: 1.0.0
# """

# from flask import Blueprint

# # 导入各模块的路由蓝图
# from .share_189_routes import share_189_bp
# # from .admin import admin_bp  # 预留admin模块
# # from .user import user_bp    # 预留user模块
# # from .auth import auth_bp    # 预留auth模块

# # 创建主API蓝图
# api_bp = Blueprint('api', __name__, url_prefix='/api')


# # 基础CRUD操作路由
# # 批量添加分享码的路由
# api_bp.add_url_rule('/share189/batch-add', methods=['POST'], view_func=share_189_bp.batch_add_share_codes)
# # 获取分享码列表的路由
# api_bp.add_url_rule('/share189/list', methods=['GET'], view_func=share_189_bp.get_share_list)
# # 获取分享码详情的路由
# api_bp.add_url_rule('/share189/<int:share_id>', methods=['GET'], view_func=share_189_bp.get_share_detail)
# # 删除分享码的路由
# api_bp.add_url_rule('/share189/<int:share_id>', methods=['DELETE'], view_func=share_189_bp.delete_share_code)

# # 分享码操作路由
# # 解析分享码的路由
# api_bp.add_url_rule('/share189/<int:share_id>/parse', methods=['POST'], view_func=share_189_bp.parse_share_code)
# # 导入分享内容到虚拟网盘的路由
# api_bp.add_url_rule('/share189/<int:share_id>/import', methods=['POST'], view_func=share_189_bp.import_to_virtual_disk)

# # 工具类接口路由
# # 预览分享码内容的路由
# api_bp.add_url_rule('/share189/preview', methods=['POST'], view_func=share_189_bp.preview_share_code)

# # 统计信息路由
# # 获取统计信息的路由
# api_bp.add_url_rule('/share189/statistics', methods=['GET'], view_func=share_189_bp.get_statistics)

